<route lang="json5" type="page">
{
  layout: 'general',
  style: {
    navigationStyle: 'custom',
    navigationBarTitleText: '蓝莓记账',
  },
}
</route>
<template>
  <view class="statisticsWrap">{{ pageName }}</view>
  <button @click="setName('statistics3')">修改</button>
</template>

<script>
export default {
  name: '',
  data() {
    return {
      pageName: 'statistics',
    }
  },
  mounted() {
    this.setName('statistics2')
  },
  methods: {
    setName(val) {
      this.pageName = val
    },
  },
}
</script>

<style lang="scss" scoped></style>
